/**
 * 
 */
package sn.ugb.cours.zd.ejb.sessions.facades.commons;

import java.util.List;

import javax.persistence.EntityManager;

/**
 * @author zakaria
 * 
 */
public interface IFacade<T> {

	EntityManager getEntityManager();

	public void create(T entity);

	public void edit(T entity);

	public void remove(T entity);

	public T find(Object id);

	public abstract List<T> findAll();
}
